import { mapGetters } from 'vuex'
const mixin = {
  computed: {
    ...mapGetters(['navCurrentId'])
  },
  mounted() {
     if(!this.navCurrentId){
       this.$router.replace('/screen');
     }
  },
}
export default mixin